entry: Improve cursor hiding logic
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Sep 2015 17:16:02 +0000 (13:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 3 Sep 2015 18:00:27 +0000 (14:00 -0400)
commit587afb5b1c51f68eb49b630f0addbaf1d569f23e
tree3641606c17b5fb85b9b58e7004780cb3335f75d0
parent57894ec55b85bed7acbc669963b9c5416af9bb37
entry: Improve cursor hiding logic

Previously, we just hid the cursor if a key event was adding text,
but not when you used backspace, or Ctrl-V. Rearrange things so that
we obscure the cursor whenever the buffer contents change while we
are handling key events.

https://bugzilla.gnome.org/show_bug.cgi?id=754535
gtk/gtkentry.c